package gro.ecorrdata.edata.model;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;

/**
 * EDataClass
 */
public class EDataClassModel {
    private Integer id;
    private Integer pid;
    private String classname;
    private String tablename;
    private Integer onclick;
    private String ctime;
    private String note;

    @Autowired
    private JdbcTemplate jdbcTemplate;

    public EDataClassModel() {

    }

    public EDataClassModel(Integer id, Integer pid, String classname, String tablename, Integer onclick, String ctime, String note) {
        this.id = id;
        this.pid = pid;
        this.classname = classname;
        this.tablename = tablename;
        this.onclick = onclick;
        this.ctime = ctime;
        this.note = note;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getTablename() {
        return tablename;
    }

    public void setTablename(String tablename) {
        this.tablename = tablename;
    }

    public Integer getOnclick() {
        return onclick;
    }

    public void setOnclick(Integer onclick) {
        this.onclick = onclick;
    }

    public String getCtime() {
        return ctime;
    }

    public void setCtime(String ctime) {
        this.ctime = ctime;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}